﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.WmsManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.WmsManagement.WarehouseVMs
{
    public partial class WarehouseBatchVM : BaseBatchVM<Warehouse, Warehouse_BatchEdit>
    {
        public WarehouseBatchVM()
        {
            ListVM = new WarehouseListVM();
            LinkedVM = new Warehouse_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Warehouse_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Warehouse._Name")]
        public string Name { get; set; }
        [Display(Name = "_Model._Warehouse._Address")]
        public string Address { get; set; }
        [Display(Name = "_Model._Warehouse._Manager")]
        public string ManagerId { get; set; }
        [Display(Name = "_Model._Warehouse._Capacity")]
        public string Capacity { get; set; }
        [Display(Name = "_Model._Warehouse._IsActive")]
        public bool? IsActive { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}